# Helper methods defined here can be accessed in any controller or view in the application

module Myblog
  class App
    module PersonalHelper
      def bill_status(status)
        if status == 1
          return "已到账"
        end
        if status == 0
          return "正在处理"

        end
        if status == 2
          return "已请求"

        end
        return "正在处理"
      end
    end

    helpers PersonalHelper
  end
end
